using System;
using Microsoft.AspNetCore.Http;

namespace MinimalistFoodStreet.BackEnd.Infrastructure.Dtos.Request.Tables
{
	public class RequestCreateGoodsDto 
	{
		/// <summary>
		/// 供应商(引用suppliers)
		/// </summary>
		public int supplierId  { get; set; }
		/// <summary>
		/// 店铺名称
		/// </summary>
        public string shopName { get; set; }
        /// <summary>
        /// 商品类别（引用dictionarys）
        /// </summary>
        public int goodTypeId  { get; set; }
		/// <summary>
		/// 商品名称
		/// </summary>
		public string name  { get; set; }
		/// <summary>
		/// 商品价格
		/// </summary>
		public decimal price  { get; set; }
		/// <summary>
		/// 产品描述
		/// </summary>
		public string description  { get; set; }
		/// <summary>
		/// 封面图片
		/// </summary>
		public IFormFile photo  { get; set; }
		/// <summary>
		/// 详情图片
		/// </summary>
		public List<IFormFile> detailImages  { get; set; }
		/// <summary>
		/// 商品规格
		/// </summary>
		public string specs  { get; set; }
		/// <summary>
		/// 是否直营
		/// </summary>
		public int isDirectly  { get; set; }
		/// <summary>
		/// 生产日期
		/// </summary>
		public DateTime birthday  { get; set; }
		/// <summary>
		/// 保质期
		/// </summary>
		public int expiryday  { get; set; }
		/// <summary>
		/// 库存
		/// </summary>
        public int inventory { get; set; }
    }
}